package com.sdses.weather.model;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class WarningInfo {

    public List<Warning> warnings = new ArrayList<>();

    @Data
    public static class Warning {
        private String type = "";// 预警类型
        private String level = "";// 预警级别
        private String title = "";// 预警标题
        private String description = "";// 预警描述
        private String publishTime = "";// 发布时间
        private String name = "";// 预警名称
        private String infoid = "";// 预警ID
    }
}